package com.minshenglife.zanzan.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.minshenglife.commons.dal.EntityDao;
import com.minshenglife.commons.dal.MyBatisRepository;
import com.minshenglife.zanzan.entity.Review;
import com.minshenglife.zanzan.result.ReviewResult;


/**
 * 评论DAO
 * 
 * @author huodd
 * @date 2014.02.14
 */
@Repository
@MyBatisRepository
public interface ReviewDao extends EntityDao<Review>{
	/**根据指定条件查询评论记录总条数**/
	public Long countByParams( Map<String,Object> map);
	/**根据指定条件查询评论记录**/
	public List<ReviewResult> findByParams(Map<String,Object> map);
	
}
